File: fix_glade

package info (click to toggle)
advene 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 10,340 kB
  • sloc: xml: 56,204; python: 49,885; 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