File: fix_glade

package info (click to toggle)
advene 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,588 kB
  • ctags: 6,326
  • sloc: xml: 56,303; python: 50,385; perl: 741; sh: 186; makefile: 83; ansic: 18
file content (9 lines) | stat: -rwxr-xr-x 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#! /bin/sh

if [ -z "$1" ]
then
    echo "Syntaxe: $0 file.glade"
else
# Fixes the directories for pixmaps
    perl -pi -e 's!"pixbuf">!"pixbuf">pixmaps/!;' -e 's!"icon">!"icon">pixmaps/!;' $1
fi